﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

namespace Ui {
class MainWindow;
}

class LPHeaderControl;
class LPMemroyManager;
class LPProcessEllipse;
class LPSwitchStyleWidget   ;
class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private:
    void InitActionItems();
    void InitStyle();
    void InitControlWidget();
    void InitConnection();

protected:
    void resizeEvent( QResizeEvent* event );
    void showEvent( QShowEvent* event );

private slots:
    void AdjuestSize();

private:
    LPHeaderControl* m_pHeaderControl;
    LPMemroyManager* m_pHardWareMointor;
    LPSwitchStyleWidget* m_pSwitchWidget;
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
